const { config } = require('./common')

const { apiPrefix } = config
let menuDatabase = [
  {
    id: '1',
    icon: 'laptop',
    name: 'Dashboard',
    route: '/dashboard',
  },
  {
    id: '6',
    bpid: '1',
    name: '租户列表',
    icon: 'area-chart',
    route: '/systemprocess',
  },
  {
    id: '7',
    bpid: '1',
    name: '流程类型',
    icon: 'setting',
    route: '/processtype',
  },
  {
    id: '8',
    bpid: '1',
    name: '流程部署',
    icon: 'database',
    route: '/deploy',
  },
]

module.exports = {

  [`GET ${apiPrefix}/menus`] (req, res) {
    res.status(200).json(menuDatabase)
  },
}
